package AntPheromones;

import java.awt.Color;

/**
Food.java

Food extends PiledObject.
The total number of food source is specified at the beginning of simulation.
Food can be picked up by an ant. This action will remove the food from the grid.
*/

public class Food extends NonAntObject {
	public static int 	nextId = 0; //id of food object
	public int 			id; 
	public Food () {
		id = nextId ++;
		myColor = Color.blue;
	}
	
	public static void resetNextId() { nextId = 0; }  // call when we reset the model
}